﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Icoders.MarketTracker.Web.Lib.Command
{
    public abstract class TransactionCommand : ICommand
    {
        protected TransactionCommand(Guid cmdId, Guid docId, DateTime cmdDateCreated, int cmdGenByUserId, int cmdGenByAppId, DateTime cmdSendDateTime)
        {
            CmdId = cmdId;
            DocId = docId;
            CmdDateCreated = cmdDateCreated;
            CmdGenByUserId = cmdGenByUserId;
            CmdGenByAppId = cmdGenByAppId;
            CmdSendDateTime = cmdSendDateTime;
        }

        public Guid CmdId { get;private set; }
        public Guid DocId{ get; private set; }
        public DateTime CmdDateCreated { get; private set; }
        public int CmdGenByUserId { get; private set; }
        public int CmdGenByAppId { get; private set; }
        public DateTime CmdSendDateTime { get;  set; }
        
    }
}
